//
//  VipUserInfoObject.h
//  HappyPenguin
//
//  Created by zhuangyihang on 1/25/16.
//  Copyright © 2016 zhuangyihang. All rights reserved.
//

#import "BaseObject.h"

typedef NS_ENUM(NSInteger, DateCalendarType){
    DateCalendarType_Traditional,//农历
    DateCalendarType_International,//公历
};

@interface VipUserInfoFieldObject : BaseObject

@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong) NSString *field;
@property (nonatomic, strong) NSString *value;

@end

@interface VipUserInfoAnniversaryFieldObject : BaseObject

@property (nonatomic, strong) NSString *name;
@property (nonatomic, assign) NSInteger keyId;
@property (nonatomic, strong) NSDate *date;
@property (nonatomic, assign) DateCalendarType type;

@end


@interface VipUserInfoObject : BaseObject

@property (nonatomic, strong) NSArray *attributes;
@property (nonatomic, strong) NSArray *anniversaries;

- (NSString *)vipName;
- (NSString *)vipGender;
- (NSString *)vipPortrait;
- (NSString *)vipPhone;

- (NSString *)vipTotalMoney;
- (NSString *)vipTotalCount;
- (NSString *)vipLastBuy;

- (NSArray *)getUserAttributes;
@end
